static-delta: fix command contexts
authorJonathan Lebon <jlebon@redhat.com>
Fri, 29 Jul 2016 14:57:44 +0000 (10:57 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 29 Jul 2016 16:38:19 +0000 (16:38 +0000)
Closes: #418
Approved by: cgwalters

src/ostree/ot-builtin-static-delta.c

index 90702c5acda5cb17e5f83f554bb1bf4cd6b5f866..a1c220bb7c6170f3f4a82e3f0ab040893e1a75d0 100644 (file)
@@ -212,7 +212,7 @@ ot_static_delta_builtin_generate (int argc, char **argv, GCancellable *cancellab
   GOptionContext *context;
   glnx_unref_object OstreeRepo *repo = NULL;
 
-  context = g_option_context_new ("Generate static delta files");
+  context = g_option_context_new ("GENERATE [TO] - Generate static delta files");
   if (!ostree_option_context_parse (context, generate_options, &argc, &argv, OSTREE_BUILTIN_FLAG_NONE, &repo, cancellable, error))
     goto out;
 
@@ -360,7 +360,7 @@ ot_static_delta_builtin_apply_offline (int argc, char **argv, GCancellable *canc
   GOptionContext *context;
   glnx_unref_object OstreeRepo *repo = NULL;
 
-  context = g_option_context_new ("DELTA - Apply static delta file");
+  context = g_option_context_new ("APPLY-OFFLINE - Apply static delta file");
   if (!ostree_option_context_parse (context, apply_offline_options, &argc, &argv, OSTREE_BUILTIN_FLAG_NONE, &repo, cancellable, error))
     goto out;